﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
using System.IO;

namespace SkypengerApp.Data
{
    /// <summary>
    /// Contient la liste des Contacts
    /// </summary>
    [XmlRoot("Class_Contact")]
    public class Diary
    {
        private List<Contact> _contacts;

        [XmlElement("property_Contacts")]
        public List<Contact> Contacts
        {
            get { return _contacts; }
            set { _contacts = value; }
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="Diary"/> class.
        /// </summary>
        public Diary()
        {
            _contacts = new List<Contact>();
        }
    }
}
